package mn.idax.exchange.otc.domain;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import mn.idax.exchange.common.bean.IdaxBase;
import mn.idax.exchange.otc.vo.OrderPageListDTO;

import java.util.List;

/**
 * Create by jack_huang on 2018/8/9
 */
@Getter
@Setter
public class OrderShowResultDTO extends IdaxBase{

    public OrderShowResultDTO() {
    }

    public OrderShowResultDTO(List<OrderPageListDTO> data, Integer total) {
        this.data = data;
        this.total = total;
    }

    public OrderShowResultDTO(List<OrderPageListDTO> data, Integer total, Integer isBusiness) {
        this.data = data;
        this.total = total;
        this.isBusiness = isBusiness;
    }

    private static final long serialVersionUID = 8853866623013274463L;

    private List<OrderPageListDTO> data;
    private Integer total;
    /**
     * 0 普通用户
     * 1 承兑商（卖家）
     */
    private Integer isBusiness;
}
